package vo
{
	public class GameServer
	{
		public static const SERVER_LEN:uint = 32;
		public static const STRUCT_LEN:uint = 50;
		
		public static const COST_TYPE_GOLD:uint = 0;
		public static const COST_TYPE_MAO_GOLD:uint = 1;
		
		public static const GAME_KIND_DDZ:uint = 102;		//游戏类型
		
		public static const GAME_GENRE_SCORE:uint = 1<<0;			//普通积分类型
		public static const GAME_GENRE_ANTICHEAT:uint = 1<<1;		//反作弊类型
		public static const GAME_GENRE_MATCH:uint = 1<<2;			//比赛类型
		public static const GAME_GENRE_RALLY:uint = 1<<3;			//拉力赛类型
		public static const GAME_GENRE_EVERYSPORTS:uint = 1<<4;	//天天运动会类型
		
		public var wSortID:uint;							//排序号码
		public var wKindID:uint;							//名称号码
		public var wServerID:uint;							//房间号码
		public var wStationID:uint;						//站点号码
		public var wServerPort:uint;						//房间端口
		public var dwServerAddr:String;					//房间地址
		public var dwOnLineCount:uint;						//在线人数
		public var dwCellMoney:uint;						//底分
		public var dwServerType:uint;						//房间类型
		public var dwEnterFee:uint;						//报名费/押金 [金币]
		public var szServerName:String;					//房间名称
		public var szMoneyName:String;						//花费名称
		
		public function GameServer()
		{
		}
		
		public function isType(type:uint):Boolean
		{
			return (dwServerType & type) != 0;
		}
	}
}